Total Complexity | 70 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 436 |
Lines of code | 203 |
Logical lines of code | 138 |
Comment lines | 161 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
addToCartHandlerVariable() | 34 | 26 | 83 | |
translateCartItemData() | 47 | 14 | 33 | |
translateCartItemProduct() | 52 | 10 | 24 | |
getVariationTranslation() | 55 | 5 | 19 | |
translateCartItemPermalink() | 66 | 4 | 8 | |
addToCart() | 62 | 3 | 12 | |
replaceCartFragmentsScript() | 66 | 3 | 7 | |
translateCartItemProductId() | 76 | 2 | 4 | |
setAddToCartHandler() | 79 | 2 | 3 | |
__construct() | 62 | 1 | 10 |